package com.itheima.sh.a_HomeWork1;

public class Test {
    public static void main(String[] args) {
        Employee m = new Manager("M001", "张小强", "销售部", "李小亮");
        System.out.println("销售部的："+m.getName()+",员工编号："+m.getWorkId());
        m.showMsg();
        Employee c = new Clerk("C001", "李小亮", "销售部", "张小强");
        System.out.println("销售部的："+c.getName()+",员工编号："+c.getWorkId());
        c.showMsg();

    }
}
